<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      	xmlns:ui="http://java.sun.com/jsf/facelets"
      	xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:p="http://primefaces.org/ui">
<h:head>
  <title>#{msg['applicationshortname.label']} | #{pageName}</title>
  <meta http-equiv="refresh" content="#{session.maxInactiveInterval};url=/wam/login.html" />
  <link type="text/css" rel="stylesheet" href="${request.contextPath}/resources/styles/wam.css" />
</h:head>

<h:body styleClass="body">

<h:panelGrid styleClass="pnlGrd main" style="margin: 0 auto; width: 100%; text-align: left; ">
	<ui:insert name="header">
		<h:panelGrid style="height: 34px; margin-top: 0;">       
			<h:outputLabel value="#{msg['applicationname.label']}" style="color: white; font-size: 20px; font-weight:bold; 
							text-shadow: 0px -1px 0px rgba(0,0,0,.5);" />
		</h:panelGrid>		 		    	
	</ui:insert>
	
	<h:panelGrid  style="width: 100%;  border-bottom:1px solid #d9d9d9;" columns="2" columnClasses="sidebarGrid, containerGridCell2">
		<h:panelGrid styleClass="sidebarcontent" style="margin-top: -2px;" columnClasses="sidebarGrid" > 
			<ui:insert name="sidebar">
			
			</ui:insert>
		</h:panelGrid>
		<h:panelGrid style="width: 100%; text-align: left; padding: 0 0 10px 10px; ">
			<ui:insert name="content">			    	
			</ui:insert>
		</h:panelGrid>		
	</h:panelGrid>
	
		<ui:insert name="footer">
			<h:outputLabel value="&#169; 2012 #{msg['companyname.label']}"
				style="color: #888888; font-size: 12px;" />
			<h:outputText value="Supported browsers: IE9, Safari, Firefox, Chrome and Opera" style="color: #888888"/>	
		</ui:insert>
	
</h:panelGrid>
</h:body>

</html>
